package com.rj.framework.transformer;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 自定义数据转换
 *
 * @author RJ
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface CustomMapped {
    String sourceField() default "";

    Class<? extends ValueTransformer> transformer();
}